import axiosSelfPro from "@/js/axiosSelfPro"

export default{
    async getPage(props){
        return await axiosSelfPro.doGet("/userRole/getPage",props);
    },
    async delOne(props){
        return await axiosSelfPro.doDel(`/userRole/delOne/${props}`);
    },
    async editOne(props){
        return await axiosSelfPro.doPut(`/userRole/editOne/${props.id}`,props);
    },
    async addOne(props){
        return await axiosSelfPro.doPost(`/userRole/addOne`,props);
    },

}